package com.maiji.cloud.entities.community;


import com.baomidou.mybatisplus.annotations.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain=true)
@Table(name = "com_user_message")
public class ComUserMessage {

    @Column(name = "user_messageId", type = MySqlTypeConstant.VARCHAR, length = 50, isKey = true)
    private String userMessageId;

    @Column(name = "user_id", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String userId;

    @Column(name = "comment_count", type = MySqlTypeConstant.INT, length = 2,defaultValue = "0")
    private Integer commentCount; //未浏览评论数量

    @Column(name = "at_count", type = MySqlTypeConstant.INT, length = 2,defaultValue = "0")
    private Integer atCount; //未浏览@数量

    @Column(name = "praise_count", type = MySqlTypeConstant.INT, length = 2,defaultValue = "0")
    private Integer praiseCount; //未浏览点赞数量

    @Column(name = "follower_count", type = MySqlTypeConstant.INT, length = 2,defaultValue = "0")
    private Integer followerCount; //未浏览粉丝数量

    @Column(name = "reply_count", type = MySqlTypeConstant.INT, length = 2,defaultValue = "0")
    private Integer replyCount; //未浏览回复数量
}
